package com.sirdc.modules.sys.entity;

import com.sirdc.modules.core.entity.StringEntity;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 用户表
 */
@Entity
@Table(name = "t_sys_user_login")
@DynamicUpdate//动态更新
@DynamicInsert//动态插入
public class SysUserLogin extends StringEntity {
    private static final long serialVersionUID = 2011718216921828248L;

    private String name; //用户名

    private Integer num;

    private Integer rownum;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer getRownum() {
        return rownum;
    }

    public void setRownum(Integer rownum) {
        this.rownum = rownum;
    }

}
